package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Member;

import java.util.List;
import java.util.Map;


public interface MemberService {

    Member findMemberByTelephone(String telephone);

    void add(Member member);

    List<Integer> findMemberCountByRegTime(List<String> monthsList);

    List<Map<String, Object>> findBySexCount();

    List<Map<String, Object>> getAgeMemberReport();

    List<Integer> findIncreasedMemberCount(List<String> monthsList);

    PageResult findPage(QueryPageBean queryPageBean);

    Member findById(Integer id);

    void edit(Member member);

    void deleteById(Integer id);
}
